package com.meima;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan("com.meima.mapper")
@EnableFeignClients // 开启feign客户端
public class OrderApp {
    public static void main(String[] args) {
        SpringApplication.run(OrderApp.class,args);
    }
    // @Bean
    // @LoadBalanced // 开启负载均衡
    // public RestTemplate restTemplate() {
    //     return new RestTemplate();
    // }
}
